<%--
 - Copyright (c) 2009-2011 ETCORE Labs. All rights reserved. 
 - 
 - This software is the confidential and proprietary information of ETCORE Labs. 
 - You shall not disclose such confidential information and shall use it only
 - in accordance with the terms of the license agreement you entered into
 - with ETCORE Labs.
 -
 - Support can be obtained from support forums at:
 - http://www.etcore.com/
 -
 - @author: ETCORE GroupTalk developers
 -
 --%>
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://jakarta.apache.org/taglibs/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://www.etcore.com/grouptalk" prefix="grouptalk"%>


<body>
<table width=260 style="border:1px solid #d2d4d2;;margin-top:26px;margin-left:10px;">
<tr bgcolor="f3f3f3"><td style="color:#808080" >${context.text_more} <a href="/group/${page}${context.postfix}?id=${group.id}&gid=${group.id}">${group.name}</a> ${context.text_related }</td></tr>
<c:forEach var="message" items="${related}">
<tr><td style="border-bottom:1px dashed #808080;" nowrap  ><div style="width: 260; overflow: hidden;">
	<c:if test="${!(context.msg_encryptedUrl) }">
		<a style="color:#3B5998"
			href="/group/messagedetail<c:out value='${context.postfix}' />?id=<c:out value='${message[0]}' />"
			> <c:if test="${empty param.key }">
			<c:out value='${message[2]}' />
		</c:if> <c:if test="${not empty param.key }">
			<c:out value="${grouptalk:getStringWithRedKey(message[2],param.key)}"
				escapeXml="false" />
		</c:if> </a>
	</c:if>
	<c:if test="${(context.msg_encryptedUrl) }">
		<c:set var='urlFragmentStr' value="?id=${message[0] }" />
		<c:set var='urlFragment'
			value='${grouptalk:getEncryptedStr(urlFragmentStr)}' />
		<a style="color:#3B5998"
			href="/group/messagedetail<c:out value='${context.postfix}' />/~<c:out value='${urlFragment }' />"
			> <c:if test="${empty param.key }">
			<c:out value='${message[2] }' />
		</c:if> <c:if test="${not empty param.key }">
			<c:out value="${grouptalk:getStringWithRedKey(message[2],param.key)}"
				escapeXml="false" />
		</c:if> </a>
	</c:if></div>
	</td></tr>
</c:forEach>
<tr><td></td></tr>
</table>
</body>


